﻿using System;
using System.Collections.Generic;
using System.Text;

namespace MMy.Core.FrameWork.Attributes
{
    /// <summary>
    /// 标记Controller或者 Action的描述
    /// </summary>
    public class ActionDescriptionAttribute : Attribute
    {
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 新建一个描述
        /// </summary>
        /// <param name="_description">描述</param>
        public ActionDescriptionAttribute(string _description)
        {
            this.Description = _description;
        }
    }
}

